import Instance from "@/utils/http.ts"

export function loginAPI(data:{loginName:String,password:String}){
    return Instance({
        url: "/login/",
        method: "POST",
        data:data
    })
}
export function userDetailAPI(){
    return Instance({
        url: "/sys-user/getUserDetail",
        method: "GET",
    })
}


export function loginOutAPI(){
    return Instance({
        url: "/login/logout",
        method: "GET",
    })
}

